{% for up in user_permissions %}
    <input type="checkbox" checked="checeked" /><br />
{% empty %}
    No permissions
{% endfor %}